package com.hsgene.order.dto.console;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 退款审批记录
 * @projectName: hdas-geneshop-server
 * @package: com.hsgene.order.dto.console
 * @author: maodi
 * @createDate: 2018/11/27 10:55
 * @version: 1.0
 * Copyright: Copyright (c) 2018
 */
public class RefundApprovalRecordDto implements Serializable {
    private static final long serialVersionUID = 2190313151312910782L;

    /**
     * 退款金额
     */
    private double refundAmount;

    /**
     * 审核日期
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date auditDate;

    /**
     * 审核人
     */
    private String auditor;

    /**
     * 操作(通过,拒绝)
     */
    private String action;

    /**
     * 拒绝原因
     */
    private String rejectRefundReason;

    public double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getRejectRefundReason() {
        return rejectRefundReason;
    }

    public void setRejectRefundReason(String rejectRefundReason) {
        this.rejectRefundReason = rejectRefundReason;
    }
}
